<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      GPGME-1.13.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;4.&nbsp;Security
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gnutls.html" title="GnuTLS-3.6.12">Prev</a>
          <p>
            GnuTLS-3.6.12
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="haveged.html" title="Haveged-1.9.2">Next</a>
          <p>
            Haveged-1.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="security.html" title=
          "Chapter&nbsp;4.&nbsp;Security">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gpgme" name="gpgme"></a>GPGME-1.13.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to GPGME
        </h2>
        <p>
          The <span class="application">GPGME</span> package is a C library
          that allows cryptography support to be added to a program. It is
          designed to make access to public key crypto engines like
          <span class="application">GnuPG</span> or GpgSM easier for
          applications. <span class="application">GPGME</span> provides a
          high-level crypto API for encryption, decryption, signing,
          signature verification and key management.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.13.1.tar.bz2">
                https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.13.1.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.13.1.tar.bz2">ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.13.1.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 198f0a908ec3cd8f0ce9a4f3a4489645
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.7 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 232 MB (with all bindings)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.7 SBU (with parallelism=4; with all
                bindings, add 0.5 SBU for tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          GPGME Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/libassuan.html" title=
          "libassuan-2.5.3">Libassuan-2.5.3</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> and <a class="xref" href=
          "../general/graphviz.html" title=
          "Graphviz-2.42.3">Graphviz-2.42.3</a> (for API documentation),
          <a class="xref" href="gnupg.html" title=
          "GnuPG-2.2.19">GnuPG-2.2.19</a> (required if Qt or SWIG are
          installed; used during the testsuite), <a class="xref" href=
          "../general/clisp.html" title="Clisp-2.49">Clisp-2.49</a>,
          <a class="xref" href="../general/python2.html" title=
          "Python-2.7.17">Python-2.7.17</a>, <a class="xref" href=
          "../x/qt5.html" title="Qt-5.14.1">Qt-5.14.1</a>, and/or <a class=
          "xref" href="../general/swig.html" title=
          "SWIG-4.0.1">SWIG-4.0.1</a> (for language bindings)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gpgme">http://wiki.linuxfromscratch.org/blfs/wiki/gpgme</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of GPGME
        </h2>
        <p>
          Install <span class="application">GPGME</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --disable-gpg-test &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, you should have <a class="xref" href=
          "gnupg.html" title="GnuPG-2.2.19">GnuPG-2.2.19</a> installed and
          remove the <span class=
          "command"><strong>--disable-gpg-test</strong></span> above. Issue:
          <span class="command"><strong>make check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-gpg-test</code></em>: if this
          parameter is not passed to configure, the test programs are built
          during <span class="command"><strong>make</strong></span> stage,
          which requires <a class="xref" href="gnupg.html" title=
          "GnuPG-2.2.19">GnuPG-2.2.19</a>. This parameter is not needed if
          <a class="xref" href="gnupg.html" title=
          "GnuPG-2.2.19">GnuPG-2.2.19</a> is installed.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">gpgme-config, gpgme-json, and
              gpgme-tool</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libgpgme, libgpgmepp.so, and
              libqgpgme.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/include/{gpgme++,qgpgme,QGpgME},
              /usr/lib/cmake/{Gpgmepp,QGpgme}.
              /usr/lib/python{2.7,3.7}/site-packages/gpg, and
              /usr/share/common-lisp/source/gpgme</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gpgme-config" name="gpgme-config"></a><span class=
                    "term"><span class=
                    "command"><strong>gpgme-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to obtain <span class="application">GPGME</span>
                    compilation and linking information.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gpgme-json" name="gpgme-json"></a><span class=
                    "term"><span class=
                    "command"><strong>gpgme-json</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    outputs <span class="application">GPGME</span> commands
                    in JSON format.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gpgme-tool" name="gpgme-tool"></a><span class=
                    "term"><span class=
                    "command"><strong>gpgme-tool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    prints fingerprint and keyid with keyservers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgpgme" name="libgpgme"></a><span class=
                    "term"><code class="filename">libgpgme.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">GPGME</span> API
                    functions.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgpgmepp" name="libgpgmepp"></a><span class=
                    "term"><code class="filename">libgpgmepp.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the C++ <span class="application">GPGME</span>
                    API functions.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libqgpgme" name="libqgpgme"></a><span class=
                    "term"><code class="filename">libqgpgme.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains API functions for handling GPG operations in
                    <span class="application">Qt</span> applications.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 18:46:23 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gnutls.html" title="GnuTLS-3.6.12">Prev</a>
          <p>
            GnuTLS-3.6.12
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="haveged.html" title="Haveged-1.9.2">Next</a>
          <p>
            Haveged-1.9.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="security.html" title=
          "Chapter&nbsp;4.&nbsp;Security">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
